//
//  DYZCarDetailCell.m
//  DYZCars
//
//  Created by jdc on 16/8/20.
//  Copyright © 2016年 MF. All rights reserved.
//

#import "DYZCarDetailCell.h"
@interface DYZCarDetailCell()
@property (weak, nonatomic) IBOutlet UILabel *carTypeLable;
@property (weak, nonatomic) IBOutlet UILabel *creatTimeLable;
@property (weak, nonatomic) IBOutlet UILabel *sellerPhoneNumber;
@property (weak, nonatomic) IBOutlet UILabel *guidePriceLable;


@end
@implementation DYZCarDetailCell
/**
 *  传值
 */
-(void)setCarsModel:(DYZNewCarsModel *)carsModel{
    _carsModel = carsModel;
    self.carTypeLable.text = carsModel.carModel;
    self.creatTimeLable.text = carsModel.createTimeHM;
    self.guidePriceLable.text = [NSString stringWithFormat:@"%zd",carsModel.guidePrice];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
